package com.whut.monitor.vo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class SensorVo {

	private Integer id;
	private String sensorName;
	private String sensorNum;//传感器 编号
	private Integer sensorType;
	private String typeName;// 传感器类型，0：电类传感器;1：FBG温度;2:FBG应力
	
	@DateTimeFormat(pattern="yyyy-MM-dd") 
	private Date productDate;// 出厂日期
	private String company;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSensorName() {
		return sensorName;
	}

	public void setSensorName(String sensorName) {
		this.sensorName = sensorName;
	}
	
	public String getSensorNum() {
		return sensorNum;
	}

	public void setSensorNum(String sensorNum) {
		this.sensorNum = sensorNum;
	}

	public Integer getSensorType() {
		return sensorType;
	}

	public void setSensorType(Integer sensorType) {
		this.sensorType = sensorType;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Date getProductDate() {
		return productDate;
	}

	public void setProductDate(Date productDate) {
		this.productDate = productDate;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

}